const systemRule: Menu.MenuOptions = {
  path: '/systemRule',
  name: 'systemRule',
  redirect: '/systemRule/empInfo',
  meta: {
    icon: 'svg-jurisdiction',
    title: 'Permissions',
    isLink: '',
    isHide: false,
    isFull: false,
    isAffix: false,
    isKeepAlive: true
    // roles: ['p:auth:user', 'p:auth:role']
  },
  children: [
    {
      path: '/systemRule/empInfo',
      name: 'userManagement',
      component: '/systemRule/empInfo/index',
      meta: {
        icon: 'svg-userManagement',
        title: 'userManagement',
        isLink: '',
        isHide: false,
        isFull: false,
        isAffix: false,
        isKeepAlive: true
        // roles: ['p:auth:user']
      }
    },
    {
      path: '/systemRule/roleManagement',
      name: 'roleManagement',
      component: '/systemRule/roleManagement/index',
      meta: {
        icon: 'svg-roleRule',
        title: 'roleManagement',
        isLink: '',
        isHide: false,
        isFull: false,
        isAffix: false,
        isKeepAlive: true
        // roles: ['p:auth:role']
      }
    }
  ]
};

export default systemRule;
